package com.hfut.jpoa.dao;

import com.hfut.jpoa.common.exception.DaoException;
import com.hfut.jpoa.model.UserRight;
import com.hfut.jpoa.model.UserRightWithBLOBs;

public interface UserRightDAO {
    int deleteByPrimaryKey(String id) throws DaoException;

    void insert(UserRightWithBLOBs record) throws DaoException;

    void insertSelective(UserRightWithBLOBs record) throws DaoException;

    UserRightWithBLOBs selectByPrimaryKey(String id) throws DaoException;

    int updateByPrimaryKeySelective(UserRightWithBLOBs record) throws DaoException;

    int updateByPrimaryKey(UserRightWithBLOBs record) throws DaoException;

    int updateByPrimaryKey(UserRight record) throws DaoException;
}